import random


a = '10'
b = '3.14'

# print(a,b)

# i = int(a)
# print(i)

# f = int(b)
# print(f)

# a =  input("输入a")
# b =  input("输入b")

# i1 = int(a)
# i2 = int(b)

# c = i1 + i2
# print(c)

# for i in range(1000):
#     print(i)

X = random.randint(1, 6)
for c in range(4):
    Y = input('输入一个数字1-6')
    nY = int(Y)
    if (nY == X):
        print('你猜对了')
        break
    elif (nY > X):
        print('大了')
    else:
        print('小了')
print('程序结束')

# for __count in range(6):
#     nX = int(input('猜猜我想的数字？'))
#     if (X == nX):
#         print('你猜对了')
#         break
#     elif (nX > X):
#         print('不对，大了')
#     else:
#         print('不对，小了')
